Active power sharing in microgrids
نویسندگان
چکیده
This chapter studies the problem of frequency regulation and active power sharing in inverter-based microgrids with time-varying voltages. Building upon the result in the previous chapter, we propose the design of internal-model-based controllers and analyze it within an (incrementally) passivity framework. A small case study indicates the effectiveness of the proposed solution. 3.1 A microgrid model Consider a microgrid consisting of n generation and m load buses. Every generation bus represents an inverter, connected to a DG unit and a battery. The loads are modelled as constant impedances and corresponding load buses are eliminated, resulting in a Kron-reduced network. Consequently, the network is represented by a connected and undirected graph G = (V, E), where V = {1, . . . , n} is the set of nodes (generation buses) and E = {1, . . . ,m} is the set of distribution lines connecting the nodes. The network structure can be represented by its corresponding incidence matrix B ∈ Rn×m. The ends of edge k are arbitrary labeled with a ‘+’ and a ‘−’. Then Bik = +1 if i is the positive end of k −1 if i is the negative end of k 0 otherwise. 3.1.1 A network of inverters The inverter at the node i is assumed to be able to regulate its frequency instantaneous and its voltage in a delayed manner. The inverter is therefore represented 60 3. Active power sharing in microgrids by δ̇i = u δ i , τVi V̇i = −Vi + ui , (3.1) where δi and Vi are the voltage angle and voltage respectively, and τVi ∈ R>0 is the time constant of the filter. The considered controllers are given by ui = ω d − kPi(P i − P d i − pi), ui = V d i − kQi(Qi −Qi − qi), (3.2) where ω, V , P , Q ∈ R are respectively the desired frequency, desired voltage, active power setpoint and reactive power setpoint, and are determined according to economic and technical criteria. The constants kPi ∈ R>0 and kQi ∈ R>0 are the frequency and voltage droop gains respectively. pi and qi are additional control inputs which we will design later to achieve frequency and voltage regulation. Remark 3.1.1 (Inverter model and controller). The inverter model (3.1) and controller (3.2) are identical to the ones in (Schiffer et al. 2013), when we set pi = 0 and qi = 0. We refer the reader to (Schiffer et al. 2013) and (Schiffer et al. 2015) for a more in depth treatment of physical interpretation and underlying assumptions. The measured active and reactive powers (P i and Q m i ) are obtained through filters with time constants τPi and τQi : τPi Ṗ m i = −P i + Pi τQiQ̇ m i = −Qi +Qi, (3.3) where the power flows are given by Pi = GiiV 2 i − ∑ j∈Ni ( BijViVj sin(δi − δj) +GijViVj cos(δi − δj) ) Qi = −BiiV 2 i − ∑ j∈Ni ( GijViVj sin(δi − δj)−BijViVj cos(δi − δj) ) , (3.4) where Bij and Gij denote the susceptance and the conductance of the distribution line respectively. Additionally, we have Bii = B̂ii + ∑ j∈Ni Bij and Gii = Ĝii + ∑ j∈Ni Gij , where B̂ii and Ĝii denote the shunt susceptance and shunt conductance. In the subsequent analysis we approximate the terms involving G by an unknown constant, i.e. Pi = ∑ j∈Ni |Bij |ViVj sin(δi − δj) + P0i, Qi = |Bii|V 2 i − ∑ j∈Ni |Bij |ViVj cos(δi − δj) +Q0i. (3.5) 3.1. A microgrid model 61 The approximation above (including a lossless network as a particular case by setting P0i = Q0i = 0) is common in power grid studies and is made in order to derive a suitable Lyapunov function for the stability analysis. Assuming τVi τPi ' τQi we can simplify the used model by setting τVi = 0, resulting in δ̇i = ωi τPi ω̇i = −ωi + ω − kPi(Pi − P d 0i) + ui τQi V̇i = −Vi + V d i − kQi(Qi −Q0i) + u Q i , (3.6) with ui = −kPi(pi + τPi ṗi) uQi = −kQi(qi + τQi q̇i). (3.7) For all nodes the system writes as: δ̇ = ω TP ω̇ = −ω + 1nω −KP (P − P d 0 ) + u TQV̇ = −V + V d −KQ(Q−Q0) + u, (3.8) where the used symbols follow straightforwardly from the node dynamics, and are vectors or matrices with appropriate dimensions. Since the dynamics are driven by the differences in the voltage angles we introduce η = B δ and write (3.8) as: η̇ = Bω, TP ω̇ = −ω + 1nω −KP (Bdiag(B +V )diag(B −V )B sin(η)− P d 0 ) + u , TQV̇ = −V + V d −KQ(diag(V )BV − |B|diag(B +V )diag(B −V )B cos(η)−Q0) + u, (3.9) where B is the corresponding incidence matrix. Its positive entries are given by B+ and its negative entries by B−, such that we have B = B+ + B−. Furthermore |B| = B+ − B− denotes the incidence matrix with all elements positive. The susceptance of the transmission lines is denoted by B = diag(Bk), where Bk = |Bij | = |Bji| is the susceptance of transmission line k connecting nodes i and j. The shunt susceptance of the nodes is given by B = diag(|Bii|). To simplify the notation further we 62 3. Active power sharing in microgrids introduce P d 0 = P d 0 − P0 Q0 = Q d −Q0 MP = K −1 P TP MQ = K −1 Q TQ Θ(V ) = diag(V )BV Γ(V ) = diag(B +V )diag(B −V )B. (3.10) Remark 3.1.2 (A new voltage dependent variable). Notice that Γ(V ) is a diagonal matrix with Γ(V )kk = |Bij |ViVj = |Bji|VjVi when edge k is incident to nodes i and j. Θ(V ) is a vector with Θ(V )i = |Bii|V 2 i . Using the new variables (3.10), system (3.9) can be written as η̇ = Bω MP ω̇ = −K−1 P (ω − 1nω ) + P d 0 − BΓ(V ) sin(η) + u MQV̇ = −K−1 Q (V − V ) +Q0 −Θ(V ) + |B|Γ(V ) cos(η) + u, (3.11) which we will use throughout this chapter. 3.2 Stability with constant control inputs First we investigate the stability of the equilibria of system (3.11) under the assumption u = u and u = u are constant. This study has been already pursued in e.g. (Schiffer et al. 2013) or in (Simpson-Porco et al. 2013) for a first order model. The approach in this work descends however from the results provided in Chapter 2 and can provide new insight into this problem. Furthermore it paves the way for allowing dynamic controlled u and u in later sections, relying on (incremental) passivity and the internal model approach. Our analysis is based on characterizing the equilibria and providing conditions when those equilibria are locally attractive. 3.2.1 Equilibria Before characterizing the equilibria, we need the following assumption, which guarantees the existence of an equilibrium: 3.2. Stability with constant control inputs 63 Assumption 3.2.1 (Feasibility). For a given u + P d 0 and u Q + Q0, there exist η ∈ Im(B ) ∩ (−π 2 , π 2 ) , ω ∈ Ker(B ) and V ∈ R>0 such that 0 = −K−1 P (ω − 1nω )− BΓ(V ) sin(η) + P d 0 + u 0 = −K−1 Q (V − V )−Θ(V ) + |B|Γ(V ) cos(η) +Q0 + u. (3.12) Under this assumption the equilibria can be characterized as follows: Lemma 3.2.2 (Equilibria). The equilibria of (3.11) are given by ω = 1nω∗, (3.13) where ω∗ = ω d + 1n (P d 0 + u P ) 1nK −1 P 1n , (3.14) BΓ(V ) sin(η) = ( In − −K−1 P 1n1n 1nK −1 P 1n ) (P d 0 + u P ), (3.15) and V any vector fulfilling Assumption 3.2.1. 3.2.2 Local attractivity Having characterized the equilibria of system (3.11), we are now ready to investigate the stability properties of the steady state solution. Recall the underlying assumption that V ∈ R>0, and that therefore there exists a compact set around V which only contains positive values of V . To analyze the stability consider the incremental storage function: S(ω, ω, η, η, V, V ) = 1 2 (ω − ω)MP (ω − ω) − 1mΓ(V ) cos(η) + 1mΓ(V ) cos(η)− (Γ(V ) sin(η)) (η − η) + 1nK −1 Q (V − V )− (K −1 Q V d +Q0 + u ) (ln(V )− ln(V )) + 1 2 1n (Θ(V )−Θ(V )). (3.16) The former terms involving η and ω descend from Chapter 2, whereas latter terms were used previously to analyze voltage stability (Schiffer et al. 2014). Notice that the storage function is not bounded, since unboundedness of η implies that the term (Γ(V ) sin(η)) η is unbounded as well. In order to invoke LaSalle’s invariance principle we therefore require condition 3.17, in the lemma below, to be satisfied. 64 3. Active power sharing in microgrids Lemma 3.2.3 (Local minimum of (3.16)). The storage function (3.16) has, under Assumption 3.2.1, a local minimum at an equilibrium point (η, ω, V ), if the following condition is met ( ∂S ∂2V − ∂ S ∂V ∂η ∂S ∂2η ∂S ∂η∂V )∣∣∣ η=η,ω=ω,V=V > 0, (3.17) where ∂S ∂η∂V = (|B|Γ(V )diag(sin(η)))diag(V )−1, ∂S ∂V ∂η = diag(V )−1(|B|Γ(V )diag(sin(η))), ∂S ∂2η = diag(Γ(V ) cos(η)), ( ∂S ∂2V ) ii = ( |Bii|+ KQV d +Q0 + u Q V 2 i ) , (3.18) and ( ∂ S ∂2V )ij = (−|Bij | cos ηk) for i 6= j, where edge k is incident to nodes i and j. When node i is not connected to node j we take |Bij | = 0. Proof. First we consider the gradient of the storage function. ∇S = [ ∂S ∂η T ∂S ∂ω T ∂S ∂V T ]T = Γ(V ) sin(η)− Γ(V ) sin(η) MP (ω − ω) (−V̇ MQdiag(V )−1)T (3.19) Since V̇ |η=η,ω=ω,V=V = 0 it is immediate to see that we have ∇S|η=η,ω=ω,V=V = 0. As the gradient of S is zero at an equilibrium point it is sufficient for S to have a local minimum when the Hessian is positive definite at an equilibrium. The Hessian is given by ∇S = diag(Γ(V ) cos(η)) 0 ∂S ∂η∂V 0 MP 0 ∂S ∂V ∂η 0 ∂S ∂2V , (3.20) where ( ∂ S ∂V ∂η ) T = ∂ S ∂η∂V = (|B|Γ(V )diag(sin(η))) diag(V )−1, ( ∂ S ∂2V )ii = |Bii| + KQV d+Qd0+u Q V 2 i and ( ∂ S ∂2V )ij = −|Bij | cos ηk for i 6= j, where edge k is incident to nodes i and j. Since Mp and diag(Γ(V ) cos(η)) are positive definite matrices, it follows by invoking the Schur complement that∇S|η,ω,V > 0 if and only if ( ∂S ∂2V − ∂ S ∂V ∂η ∂S ∂2η ∂S ∂η∂V )∣∣∣ η=η,ω=ω,V=V > 0. (3.21) 3.2. Stability with constant control inputs 65 We are now ready to state the main result of this section, that is, any solution starting sufficiently close to an equilibrium where the storage function S has a local minimum, asymptotically converges to an equilibrium fulfilling Assumption 3.2.1. Theorem 3.2.4 (Convergence to an equilibrium). Given system (3.11), if the equilibrium fulfills condition (3.17), then the system locally asymptotically converges to an equilibrium fulfilling Assumption 3.2.1. Proof. Since the storage function has a local minimum at the equilibria we can invoke LaSalle’s invariance principle. For this we show that Ṡ ≤ 0, with the equality holding only at the equilibria. In fact, Ṡ = ∂S ∂η η̇ + ∂S ∂ω ω̇ + ∂S ∂V V̇ , (3.22) where ∂S ∂η η̇ = −(ω − ω)B(Γ(V ) sin(η)− Γ(V ) sin(η)), ∂S ∂ω ω̇ = (ω − ω) (−K−1 P ω +K −1 P ω) + (ω − ω)B(Γ(V ) sin(η)− Γ(V ) sin(η), ∂S ∂V V̇ = −V̇ MQdiag(V )−1V̇ , (3.23) yielding Ṡ = −(ω − ω)TK−1 P (ω − ω)− V̇ MQdiag(V ) −1V̇ . (3.24) Recalling that V ∈ R>0, we have that Ṡ ≤ 0 and therefore there exists a compact level set Υ around the equilibrium (η, ω, V ), which is forward invariant. By LaSalle’s invariance principle the solution starting in Υ converges asymptotically to the largest invariant set contained in Υ ∩ {(η, ω, V ) : ω = ω, V̇ = 0}. On such invariant set the system is η̇ = Bω, 0 = −K−1 P (ω − 1nω )− BΓ(V ) sin(η) + P d 0 + u , 0 = −K−1 Q (V − V )−Θ(V ) + |B|Γ(V ) cos(η) +Q0 + u. (3.25) Recall that ω = 1nω, such that η̇ = B1nω = 0. Since on the invariant set η̇ = ω̇ = V̇ = 0, system (3.11) approaches the set of equilibria contained in Υ. Consider a forward invariant set Ω ⊆ Υ around (η, ω, V ), where it holds that ∂ S ∂(η,ω,V )2 > 0. Since every equilibrium in Ω is Lyapunov stable, it then follows from Lemma 1.4.8 that the solution starting in Ω converges to a point. I.e., we can conclude that the system approaches the set where where V = Ṽ and η = η̃ are constants. 66 3. Active power sharing in microgrids 3.3 Frequency regulation by dynamic control inputs In the previous section we investigated the stability of system (3.11) with constant u = u . As shown in Lemma 3.2.2 this generally results in a steady state frequency ω deviating from the desired frequency ω. In this section we adopt the approach pursued in Chapter 2, and based on incremental passivity and the internal model approach, we design a dynamic and distributed controller providing a control input u (t) such that ω = 1nω is locally asymptotically stable, i.e. the frequency is stabilized at its desired value. Before proposing a stabilizing controller we first discuss possible values of the steady state control input. 3.3.1 Power sharing From Lemma 3.2.2 it is immediate to see that any input u , satisfying 1n (P d 0 + u ) = 0, implies that a stable equilibrium satisfies ω = ω. Among the possible choices of u , we focus on the steady state input solving the following optimization problem:The control input u is a solution to the following optimization problem: min uP ,v 1 2 (u )Ru = min uP ,v ∑ i∈V 1 2 ri(u P i ) 2 s.t. 0 = −BΓ(V )v + P d 0 + u , (3.26) where we have set sin(η) = v. The equality constraint in the optimization problem coincides with the frequency dynamics in (3.11) at steady state where ω = 1nω . Following standard literature on convex optimization (see e.g. (Boyd and Vandenberghe 2004)) we introduce the Lagrangian function L(u , v, λ) = (u )Ru + λ ( −BΓ(V )v + P d 0 + u ) . (3.27) Assume that R is a positive diagonal matrix and therefore R is strictly convex. It follows that L(u , v, λ) is convex in (u , v) and concave in λ. Therefore there exists a saddle point solution to max λ min uP ,v L(u , v, λ). Applying first order optimality conditions, the saddle point (u , v, λ) must satisfy Ru + λ = 0, Γ(V )Bλ = 0, −BΓ(V )v + P d 0 + u = 0. (3.28) 3.3. Frequency regulation by dynamic control inputs 67 Solving this set of equations for u it is straightforward to show that u = −R−1 1n1 T nP d 0 1nK −1 p 1n . (3.29) Remark 3.3.1 (Active power sharing). Active power sharing is an important aspect in microgrids. Some results on obtaining a desirable power sharing are provided e.g. in (Simpson-Porco et al. 2013) and (Schiffer et al. 2013). Note that in the present setting, the matrix R can be chosen to obtain an appropriate active power sharing. For instance the choice R = In results in ui = u P j = u P ∗ for all i, j, whereas R = K −1 P results in u P i proportional to its droop gain. 3.3.2 Stability Relying on results of the previous section and our previous work (Bürger et al. 2014), we can design a controller which makes the system (3.11) locally asymptotically converging to an equilibrium where ω = 11ω, and thus provides frequency control, which is comparable to secondary control in the classic power grid. The stability result of the previous section assumed u = u and u = u are constants. If we let u be any control input, it is immediate to see from Lemma 3.2.4 that system (3.11) is incrementally passive from the input u = u to the output y = ω. Corollary 3.3.2 (Incremental passivity). Let condition (3.17) hold. Then for system (3.11) there exists a regular storage function S ′(η, η, ω, ω) which satisfies the following incremental dissipation inequality Ṡ ′ ≤ −(y − y)TK−1 P (y − y) + (y − y) T (u− u), (3.30) where u = u and y = ω. As the main result of this section we propose a dynamic controller that converges asymptotically to the feedforward input (3.29) and guarantees an asymptotical convergence of the frequency ω to its desired value 1nω. Theorem 3.3.3 (Frequency regulation and active power sharing). Given system (3.11), and assuming that condition (3.17) holds, the controllers at the nodes θ̇i = ∑ j∈N comm i (θj − θi)− r−1 i (ωi − ω ), ui = r −1 i θi, i ∈ V (3.31) where N comm i denotes the set of neighbors of node i in a graph describing the exchange of information among the controllers, guarantee locally the solutions to the closed-loop system 68 3. Active power sharing in microgrids to converge asymptotically to the largest invariant set where ωi = ω for all i ∈ V , and θ = θ, θ being the vector θ = 1n1 T nP d 0 1nR −11n , (3.32) such that u = −R−1θ, is as in (3.29). Proof. Bearing in mind Corollary 3.3.2 we have that system (3.11), with dynamic u and constant u is incrementally passive from the input u to the output ω. The internal model principle design pursued in (De Persis 2013), (Bürger and De Persis 2013) and (Bürger and De Persis 2015) prescribes the design of a controller able to generate the feedforward input u . To this purpose, we introduce the overall controller θ̇ = −Lθ +H v, u = Hθ, (3.33) where θ ∈ R, L the Laplacian associated with a graph that describes the exchange of information among the controllers, and with the term H T v needed to guarantee the incremental passivity property of the controller (see (Bürger and De Persis 2013), (Bürger and De Persis 2015) for details). Here v ∈ R is an extra control input to be designed later, while H = H T = −R−1. If v = 0 and θ(0) = 1n1 T nP d 0 1nR −11n , then θ(t) := θ(0) satisfies the differential equation in (3.33) and moreover the corresponding outputH θ(t) is identically equal to the feedforward input u (t) defined in (3.29), provided that H = −R−1. More explicitly, we have θ̇ = −Lθ, u = −R−1 θ. (3.34) Consider now the incremental storage function Φ(θ, θ) = 1 2 (θ − θ) (θ − θ) It satisfies along the solutions to (3.33) Φ̇(θ, θ) = (θ − θ) (−Lθ −R−1v + Lθ) ≤ −(θ − θ)TR−1v = (u − u ) v. (3.35) 3.3. Frequency regulation by dynamic control inputs 69 We now interconnect system (3.11) and the controller (3.33), obtaining η̇ = Bω, MP ω̇ = −K−1 P (ω − 1nω )− BΓ(V ) sin(η) + P d 0 −R−1θ, MQV̇ = −K−1 Q (V − V )−Θ(V ) + |B|Γ(V ) cos(η) +Q0 + u, θ̇ = −Lθ −R−1v. (3.36) Consider the incremental storage function Z(ω,1nω , η, η, V, V , θ, θ) = S(ω,1nω, η, η, V, V ) + Φ(θ, θ), (3.37) where (η ,1nω, V T ) fulfills Assumption 3.2.1. Following the argumentation of Lemma 3.2.3, it is immediate to see that under condition (3.17) we have that ∇Z|η=η,ω=ω,V=V ,θ=θ = 0 and ∇Z|η=η,ω=ω,V=V ,θ=θ > 0, such that Z has a local minimum at its equilibrium. It turns out that Ż = −(ω − 1nω)K P (ω − 1nω ) − V̇ MQdiag(V )−1V̇ + (ω − 1nω) (u− u) − (θ − θ)L(θ − θ) + (u− u) v. (3.38) As we are still free in designing v, the choice v = −(ω − 1nω) returns Ż = −(ω − 1nω)K P (ω − 1nω ) − V̇ MQdiag(V )−1V̇ − (θ − θ)L(θ − θ) ≤ 0 (3.39) As Ż ≤ 0, there exists a compact level set Υ around the equilibrium (η,1nω, V , θ), which is forward invariant. By LaSalle’s invariance principle the solution starting in Υ asymptotically converges to the largest invariant set contained in Υ∩{(η, ω, V, θ) : ω = 1nω , V̇ = 0, θ = θ + 1nα(t)}. On such invariant set the system is η̇ = B1nω, 0 = −B(Γ(V ) sin(η)− Γ(V ) sin(η))−R1nα(t), 0 = −K−1 Q (V − V ) +Q0 −Θ(V ) + |B|Γ(V ) cos(η) + u, θ̇ = −L(θ + 1nα(t)). (3.40) Premultiplying the second line in (3.40) by 1n yields 1nR1nα(t) = 0. As R−1 is a positive definite diagonal matrix it follows that necessary α(t) = 0 and therefore the control input u converges to the optimal control input u given by (3.29). 70 3. Active power sharing in microgrids
منابع مشابه
A New Approach for Voltage Balancing and Appropriate Power-Sharing in Autonomous Microgrids
This paper suggests a new control method to modify the virtual impedance performance in unbalanced conditions. The proposed method compensates the voltage drop that occurred due to the virtual impedance and adjusts the voltage of the point of common coupling at a desirable level. To compensate the voltage drop, the reference voltage in the droop control varies according to the proposed algorith...
متن کاملA Repetitive Control- based Approach for Power Sharing among Boost Converters in DC Microgrids
In this paper a repetitive control (RC) approach to improve current sharing between parallel-connected boost converters in DC microgrids is presented. The impact of changes in line impedance on current sharing is investigated. A repetitive controller is designed and connected in series with current controller of the boost converters to control the switching signals such that by regulating of th...
متن کاملImprove the Reactive Power Sharing by Uses to Modify Droop Characteristics in Autonomous Microgrids
Usually, the conventional droop methods is utilized for control of autonomous micro-grids. In islanded micro-grids (MG), due to the effects of mismatch in line impedance, the reactive power can't share by using the conventional droop method. In this paper, a method is proposed to improve reactive power sharing. In this method, the micro-sources are acted with P-w & Q-E droop characteristics, an...
متن کاملAccurate power sharing for parallel DGs in microgrid with various-type loads
Microgrids are nowadays used to produce electric energy with more efficiency and advantage. However, the use of microgrids presents some challenges. One of the main problems of the microgrids widely used in electrical power systems is the control of voltage, frequency and load sharing balance among inverter- based distributed generators (DGs) in islanded mode. Droop method performance degra...
متن کاملAccurate power sharing for parallel DGs in microgrid with various-type loads
Microgrids are nowadays used to produce electric energy with more efficiency and advantage. However, the use of microgrids presents some challenges. One of the main problems of the microgrids widely used in electrical power systems is the control of voltage, frequency and load sharing balance among inverter- based distributed generators (DGs) in islanded mode. Droop method performance degra...
متن کاملVoltage Control and Load Sharing in a DC Islanded Microgrid Based on Disturbance Observer
Increasing DC loads along with DC nature of distributed energy resources (DERs) raises interest to DC microgrids. Conventional droop/non-droop power-sharing in microgrids suffers from load dependent voltage deviation, slow transient response, and requires the parameters of the loads, system and DERs connection status. In this paper, a new nonlinear decentralized back-stepping control strategy f...
متن کامل